import { createRouter, createWebHistory } from "vue-router";
import Home from "../components/Home/Home.vue";
import Individual from "../components/individual/Individual.vue";
import Login from "../components/login/Login.vue";
import Order from "../components/order/Order.vue";
import Detail from "../components/detail/Detail.vue";

import City from '../components/Home/City.vue'
const routes = [
  {
    path: "/",
    name: "Home",
    component: Home,
  },
  {
	  path: "/login",
	  name: "Login",
	  component: Login,
  },
  {
  	  path: "/individual",
  	  name: "Individual",
  	  component: Individual,
  },
  ,
  {
  	  path: "/order",
  	  name: "Order",
  	  component: Order,
  },
  ,
  {
  	  path: "/detail",
  	  name: "Detail",
  	  component: Detail,
  },
	{
		path:'/city',
		name:'City',
		component:City
	},
];

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes,
});

export default router;
